package com.goods.business.service;

import com.goods.common.model.business.ProductCategory;
import com.goods.common.vo.business.ProductCategoryTreeNodeVO;

import java.util.List;

public interface ProductCategoryService {



    List<ProductCategoryTreeNodeVO> getCategoryTree();

    List<ProductCategoryTreeNodeVO> getParentCategoryTree();

    Integer addProductCategory(ProductCategory productCategory);

    ProductCategory edit(Long id);

    Integer update(Long id, ProductCategory productCategory);

    Integer delete(Long id);
}
